Fix up builder test
authorMatthias Clasen <mclasen@redhat.com>
Tue, 4 Mar 2014 04:30:55 +0000 (23:30 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 4 Mar 2014 04:31:48 +0000 (23:31 -0500)
Dialogs now report two children. Thats alright, adapt
the test to deal with it.

testsuite/gtk/builder.c

index f0f1a1403ac9b5d8cc7c1b95ed1610ab6dad33ed..43a0441606e648a462696ae35adaaf7399612b86 100644 (file)
@@ -1028,7 +1028,7 @@ test_children (void)
   g_assert (dialog != NULL);
   g_assert (GTK_IS_DIALOG (dialog));
   children = gtk_container_get_children (GTK_CONTAINER (dialog));
-  g_assert (g_list_length (children) == 1);
+  g_assert (g_list_length (children) == 2);
   g_list_free (children);
   
   vbox = gtk_builder_get_object (builder, "dialog1-vbox");